package org.mark.hibernate;

public class BookDB {
	public BookDB(){}
	
	public BookDB(String author, String name){
		this.author = author;
		this.name = name;
	}
	
	private Long id;
	public Long getId(){
		return id;
	}
	public void setId(Long value){
		this.id = value;
	}
	
	private String author;
	public String getAuthor(){
		return author;
	}
	public void setAuthor(String value){
		this.author = value;
	}
	
	private String name;
	public String getName(){
		return name;
	}
	public void setName(String value){
		this.name = value;
	}
	
	private int pageCount;
	public int getPageCount(){
		return pageCount;
	}
	public void setPageCount(int value){
		this.pageCount = value;
	}
}
